//
//  ChatStore.h
//  NewPro
//
//  Created by RYX on 2019/2/15.
//  Copyright © 2019 何荧红. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ChatStore : NSObject

/**
 * 查询客服是否在线
 */
- (void)serviceOnlineSuccess:(void(^)(BOOL onLine,NSString *tip))success Failure:(void(^)(NSError *error))failure;


/**
 * 查询消息是否发送成功
 */
- (void)checkInfoIfSendSuccess:(void(^)(BOOL hadSend))success Failure:(void(^)(NSError *error))failure;

/**
 * 通知服务器消息已读
 */
- (void)notiServerHadReadInfoWithSign:(NSString *)sign Success:(void(^)(void))success Failure:(void(^)(NSError *error))failure;

/**
 * 查看未读消息
 */
- (void)searchNoReadMsgWithCustomerSign:(NSString *)customerSign Sucess:(void(^)(NSArray *arr))success Failure:(void(^)(NSError *error))failure;
@end

